package com.ws.soa.consumer.dao.mapper;

import com.ws.soa.consumer.domain.UserPaymentFlowDO;

import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserPaymentFlowDAO继承基类
 */
@Repository
public interface UserPaymentFlowMapper extends MyBatisBaseMapper<UserPaymentFlowDO, String> {


  UserPaymentFlowDO findFlowByUserId(String userId);

  /**
   * 查看该用户买过的视频
   *
   * @param userId 用户id
   * @return workIds
   */
  List<String/*workIds*/> findWorkIdsByUserId(String userId);

}